package com.ruoyi.biz.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 地区价格配置对象 biz_state_price_config
 * 
 * @author ruoyi
 * @date 2022-07-08
 */
public class BizStatePriceConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 地区 */
    @Excel(name = "地区")
    private String addressState;

    /** 首重价格 */
    @Excel(name = "首重价格")
    private BigDecimal baseWeightPrice;

    /** 超重价格 */
    @Excel(name = "超重价格")
    private BigDecimal overWeightPrice;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAddressState(String addressState) 
    {
        this.addressState = addressState;
    }

    public String getAddressState() 
    {
        return addressState;
    }
    public void setBaseWeightPrice(BigDecimal baseWeightPrice) 
    {
        this.baseWeightPrice = baseWeightPrice;
    }

    public BigDecimal getBaseWeightPrice() 
    {
        return baseWeightPrice;
    }
    public void setOverWeightPrice(BigDecimal overWeightPrice) 
    {
        this.overWeightPrice = overWeightPrice;
    }

    public BigDecimal getOverWeightPrice() 
    {
        return overWeightPrice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("addressState", getAddressState())
            .append("baseWeightPrice", getBaseWeightPrice())
            .append("overWeightPrice", getOverWeightPrice())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
